package com.tl.khadmin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tl.khadmin.bean.ProductSupplySpecification;

public interface ProductSupplySpecificationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductSupplySpecification record);

    int insertSelective(ProductSupplySpecification record);

    ProductSupplySpecification selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductSupplySpecification record);

    int updateByPrimaryKey(ProductSupplySpecification record); 
	
	List<ProductSupplySpecification> findByProductSupplyId(@Param("productSupplyId") Long id);

	int deleteBySupplyId(@Param("productSupplyId") Long id);

	List<ProductSupplySpecification> getBySupplyIdAndNumber(@Param("productSupplyId")int productSupplyId, 
			@Param("specificationNumber")Integer specificationNumber);
}